﻿using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class AlertInfo : INotifyPropertyChanged
    {
        public string id { get;set; }
        public string message { get; set; }
        public Msg_type msg_type {  get; set; }
        public string msg_id { get; set; }
        public DateTime insert_time { get; set; }
        public string main_id { get; set; }
        public bool confirmed { get; set; }

        public event PropertyChangedEventHandler PropertyChanged;
    }

    public enum Msg_type
    {
        steel_defect,
        image_defect,
        system_alert,
    }
}
